//FruitsTest.java
package com.ylaihui.oop4;

public class FruitsTest {
	public static void main(String[] args) {
		Fruits fruits = new Fruits();
		fruits.color = "red";
		fruits.id = 1001;
		fruits.price = 11.11;
		
		fruits.methodDefault();
		fruits.methodProtected();
		fruits.methodPublic();
		
		//  is not visible
//		fruits.name = "apple";
//		fruits.methodPrivate();
	}
}
